//*******************************************************************
//        模    块: 模块
//        版权所有: 版权所有(C)2008-2009
//        公    司: 
//        内容摘要: 没有内容说明
//        其他说明: 其它内容的说明
//        创建时间：2014年05月DD日 22时49分17秒
//        修改记录1: 修改历史记录，包括修改日期、修改者及修改内容
//        <pre>
//           修改日期：
//           版 本 号：
//           修 改 人：
//           修改内容：
//        </pre>
//        @version 1.0
//        @author  
//        @Email   
//********************************************************************

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CP.DBService;
using System.Data.Linq.Mapping;
using System.Runtime.Serialization;

namespace LF3.Moduls
{
    /// <summary>
	/// 生产实绩
	/// </summary>
	[DataContract]
	public class Lf_Heat_Report
	{
		/// <summary>
		/// 记录编号
		/// </summary>
		[Column(DbType="INTEGER(10)")]
		[DataMember]
		public long recordid { get ; set; }
		/// <summary>
		/// 工序号(1:倒罐站 2：脱硫 3：转炉 4：LF  5：RH 6：连铸(CC))
		/// </summary>
		[Column(DbType="VARCHAR2(1)")]
		[DataMember]
		public string aggregatetype { get ; set; }
		/// <summary>
		/// 工位号(1# LF:1,2;2# LF:3,4)
		/// </summary>
		[Column(DbType="INTEGER(1)")]
		[DataMember]
		public int aggregateno { get ; set; }
		/// <summary>
		/// 炉次号
		/// </summary>
		[Column(DbType="VARCHAR2(11)")]
		[DataMember]
		public string heatid { get ; set; }
		/// <summary>
		/// 计划号
		/// </summary>
		[Column(IsPrimaryKey=true, Name="1", DbType="INTEGER(10) NOT NULL")]
		[DataMember]
		public long bofschedleid { get ; set; }
		/// <summary>
		/// 执行标准
		/// </summary>
		[Column(DbType="VARCHAR2(50)")]
		[DataMember]
		public string executestandard { get ; set; }
		/// <summary>
		/// 计划钢种
		/// </summary>
		[Column(DbType="VARCHAR2(16)")]
		[DataMember]
		public string plansteelgrade { get ; set; }
		/// <summary>
		/// 实际钢种
		/// </summary>
		[Column(DbType="VARCHAR2(16)")]
		[DataMember]
		public string actsteelgrade { get ; set; }
		/// <summary>
		/// 包龄
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int ladlelife { get ; set; }
		/// <summary>
		/// 钢包号
		/// </summary>
		[Column(DbType="VARCHAR2(4)")]
		[DataMember]
		public string ladleid { get ; set; }
		/// <summary>
		/// 包况(0 = cold 1 = Normal 2=hot)
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int ladlestatus { get ; set; }
		/// <summary>
		/// 班号
		/// </summary>
		[Column(DbType="VARCHAR2(1)")]
		[DataMember]
		public string shiftno { get ; set; }
		/// <summary>
		/// 班组
		/// </summary>
		[Column(DbType="VARCHAR2(1)")]
		[DataMember]
		public string shiftgroup { get ; set; }
		/// <summary>
		/// 接收钢水重量
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int receivesteelweight { get ; set; }
		/// <summary>
		/// 出钢钢水重量
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int steelweight { get ; set; }
		/// <summary>
		/// 空包重量
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int emptyladleweight { get ; set; }
		/// <summary>
		/// 开始时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? heatstarttime { get ; set; }
		/// <summary>
		/// 结束时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? heatendtime { get ; set; }
		/// <summary>
		/// 处理时间
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int heatduration { get ; set; }
		/// <summary>
		/// 送电时间
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int onelecduration { get ; set; }
		/// <summary>
		/// 吹氩时间
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int gasblowingtime { get ; set; }
		/// <summary>
		/// 耗电量
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int powerelecconsumption { get ; set; }
		/// <summary>
		/// 氩气使用量
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int arconsumption { get ; set; }
		/// <summary>
		/// 最后一次测量温度
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int lasttempetature { get ; set; }
		/// <summary>
		/// 最后一次测温时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? lastmeasuringtime { get ; set; }
		/// <summary>
		/// 最后一次采样号
		/// </summary>
		[Column(DbType="VARCHAR2(11)")]
		[DataMember]
		public string lastsampleid { get ; set; }
		/// <summary>
		/// 最后一次采样时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? lastsamplingtime { get ; set; }
		/// <summary>
		/// 钢包自由净空
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int ladlelevel { get ; set; }
		/// <summary>
		/// 喂线后软吹氩时间
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int softflowartime { get ; set; }
		/// <summary>
		/// 插入时间
		/// </summary>
		[Column(DbType="DATE(7)")]
		[DataMember]
		public DateTime? insert_time { get ; set; }
		/// <summary>
		/// 发送标志(=0 not read; =1 readed)
		/// </summary>
		[Column(DbType="VARCHAR2(1)")]
		[DataMember]
		public string executed { get ; set; }
		/// <summary>
		/// 氮气消耗量
		/// </summary>
		[Column(DbType="INTEGER(8)")]
		[DataMember]
		public int n2consume { get ; set; }
 
		public Lf_Heat_Report()
		{
			aggregatetype = "";
			heatid = "";
			executestandard = "";
			plansteelgrade = "";
			actsteelgrade = "";
			ladleid = "";
			shiftno = "";
			shiftgroup = "";
			lastsampleid = "";
			executed = "";
		}
	}


    /// <summary>
	/// 生产实绩服务
	/// </summary>
	public class Lf_Heat_ReportService : DataService<Lf_Heat_Report>
	{
	
	}

}
